using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using Reimers.Map;

public partial class examples_csharp_customicon : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        GMap.GoogleKey = ConfigurationManager.AppSettings["MapKey"];
        if (!Page.IsPostBack) GMap.Center = new Reimers.Map.GoogleLatLng(54, 0);
        //You really shouldn't hotlink to other people's images, so replace the links below with links to your own images.
        GoogleIcon ic1 = new GoogleIcon("custom", "http://maps.google.com/mapfiles/kml/pal5/icon63.png", new GoogleSize(32, 32), new GooglePoint(16, 16), new GooglePoint(16, 16));
        GMap.Icons.Add(ic1);
        GoogleMarker gm = new GoogleMarker("mrkCustom", 54, 0, new GoogleMarkerOptions(ic1));
        GMap.Overlays.Add(gm);
    }
}
